using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.Reflection;
using Helpers.FastToString;



namespace HtmlParsing.Tegs
{
  class TegA : TegBase
  {
    private const string ATTR_NAME_HREF = "href";

    public TegA(string tegString)
      : base(tegString)
    {
    }

    public override string TegName
    {
      get { return "input"; }
    }

    protected override void Parse()
    {
      Href = GetAttributeValue(ATTR_NAME_HREF, TegString);
    }

    private string _href = null;
    [PrintableAttr(PublicName = "Href")]
    public string Href
    {
      get { return _href; }
      set { _href = value; }
    }
  }
}
